/*
 * XML Type:  AccountInfo
 * Namespace: http://ofx.net/types/2003/04
 * Java type: net.ofx.types.x2003.x04.AccountInfo
 *
 * Automatically generated - do not modify.
 */
package net.ofx.types.x2003.x04;


/**
 * An XML AccountInfo(@http://ofx.net/types/2003/04).
 *
 * This is a complex type.
 */
public interface AccountInfo extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.s3A74FF4CC3627C5B0D40068015746F8A.TypeSystemHolder.typeSystem.resolveHandle("accountinfocab9type");
    
    /**
     * Gets the "DESC" element
     */
    java.lang.String getDESC();
    
    /**
     * Gets (as xml) the "DESC" element
     */
    net.ofx.types.x2003.x04.ShortMessageType xgetDESC();
    
    /**
     * True if has "DESC" element
     */
    boolean isSetDESC();
    
    /**
     * Sets the "DESC" element
     */
    void setDESC(java.lang.String desc);
    
    /**
     * Sets (as xml) the "DESC" element
     */
    void xsetDESC(net.ofx.types.x2003.x04.ShortMessageType desc);
    
    /**
     * Unsets the "DESC" element
     */
    void unsetDESC();
    
    /**
     * Gets the "PHONE" element
     */
    java.lang.String getPHONE();
    
    /**
     * Gets (as xml) the "PHONE" element
     */
    net.ofx.types.x2003.x04.PhoneType xgetPHONE();
    
    /**
     * True if has "PHONE" element
     */
    boolean isSetPHONE();
    
    /**
     * Sets the "PHONE" element
     */
    void setPHONE(java.lang.String phone);
    
    /**
     * Sets (as xml) the "PHONE" element
     */
    void xsetPHONE(net.ofx.types.x2003.x04.PhoneType phone);
    
    /**
     * Unsets the "PHONE" element
     */
    void unsetPHONE();
    
    /**
     * Gets array of all "BANKACCTINFO" elements
     */
    net.ofx.types.x2003.x04.BankAccountInfo[] getBANKACCTINFOArray();
    
    /**
     * Gets ith "BANKACCTINFO" element
     */
    net.ofx.types.x2003.x04.BankAccountInfo getBANKACCTINFOArray(int i);
    
    /**
     * Returns number of "BANKACCTINFO" element
     */
    int sizeOfBANKACCTINFOArray();
    
    /**
     * Sets array of all "BANKACCTINFO" element
     */
    void setBANKACCTINFOArray(net.ofx.types.x2003.x04.BankAccountInfo[] bankacctinfoArray);
    
    /**
     * Sets ith "BANKACCTINFO" element
     */
    void setBANKACCTINFOArray(int i, net.ofx.types.x2003.x04.BankAccountInfo bankacctinfo);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "BANKACCTINFO" element
     */
    net.ofx.types.x2003.x04.BankAccountInfo insertNewBANKACCTINFO(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "BANKACCTINFO" element
     */
    net.ofx.types.x2003.x04.BankAccountInfo addNewBANKACCTINFO();
    
    /**
     * Removes the ith "BANKACCTINFO" element
     */
    void removeBANKACCTINFO(int i);
    
    /**
     * Gets array of all "CCACCTINFO" elements
     */
    net.ofx.types.x2003.x04.CreditCardAccountInfo[] getCCACCTINFOArray();
    
    /**
     * Gets ith "CCACCTINFO" element
     */
    net.ofx.types.x2003.x04.CreditCardAccountInfo getCCACCTINFOArray(int i);
    
    /**
     * Returns number of "CCACCTINFO" element
     */
    int sizeOfCCACCTINFOArray();
    
    /**
     * Sets array of all "CCACCTINFO" element
     */
    void setCCACCTINFOArray(net.ofx.types.x2003.x04.CreditCardAccountInfo[] ccacctinfoArray);
    
    /**
     * Sets ith "CCACCTINFO" element
     */
    void setCCACCTINFOArray(int i, net.ofx.types.x2003.x04.CreditCardAccountInfo ccacctinfo);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "CCACCTINFO" element
     */
    net.ofx.types.x2003.x04.CreditCardAccountInfo insertNewCCACCTINFO(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "CCACCTINFO" element
     */
    net.ofx.types.x2003.x04.CreditCardAccountInfo addNewCCACCTINFO();
    
    /**
     * Removes the ith "CCACCTINFO" element
     */
    void removeCCACCTINFO(int i);
    
    /**
     * Gets array of all "BPACCTINFO" elements
     */
    net.ofx.types.x2003.x04.BillPaymentAccountInfo[] getBPACCTINFOArray();
    
    /**
     * Gets ith "BPACCTINFO" element
     */
    net.ofx.types.x2003.x04.BillPaymentAccountInfo getBPACCTINFOArray(int i);
    
    /**
     * Returns number of "BPACCTINFO" element
     */
    int sizeOfBPACCTINFOArray();
    
    /**
     * Sets array of all "BPACCTINFO" element
     */
    void setBPACCTINFOArray(net.ofx.types.x2003.x04.BillPaymentAccountInfo[] bpacctinfoArray);
    
    /**
     * Sets ith "BPACCTINFO" element
     */
    void setBPACCTINFOArray(int i, net.ofx.types.x2003.x04.BillPaymentAccountInfo bpacctinfo);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "BPACCTINFO" element
     */
    net.ofx.types.x2003.x04.BillPaymentAccountInfo insertNewBPACCTINFO(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "BPACCTINFO" element
     */
    net.ofx.types.x2003.x04.BillPaymentAccountInfo addNewBPACCTINFO();
    
    /**
     * Removes the ith "BPACCTINFO" element
     */
    void removeBPACCTINFO(int i);
    
    /**
     * Gets array of all "INVACCTINFO" elements
     */
    net.ofx.types.x2003.x04.InvestmentAccountInfo[] getINVACCTINFOArray();
    
    /**
     * Gets ith "INVACCTINFO" element
     */
    net.ofx.types.x2003.x04.InvestmentAccountInfo getINVACCTINFOArray(int i);
    
    /**
     * Returns number of "INVACCTINFO" element
     */
    int sizeOfINVACCTINFOArray();
    
    /**
     * Sets array of all "INVACCTINFO" element
     */
    void setINVACCTINFOArray(net.ofx.types.x2003.x04.InvestmentAccountInfo[] invacctinfoArray);
    
    /**
     * Sets ith "INVACCTINFO" element
     */
    void setINVACCTINFOArray(int i, net.ofx.types.x2003.x04.InvestmentAccountInfo invacctinfo);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "INVACCTINFO" element
     */
    net.ofx.types.x2003.x04.InvestmentAccountInfo insertNewINVACCTINFO(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "INVACCTINFO" element
     */
    net.ofx.types.x2003.x04.InvestmentAccountInfo addNewINVACCTINFO();
    
    /**
     * Removes the ith "INVACCTINFO" element
     */
    void removeINVACCTINFO(int i);
    
    /**
     * Gets array of all "PRESACCTINFO" elements
     */
    net.ofx.types.x2003.x04.PresentmentAccountInfo[] getPRESACCTINFOArray();
    
    /**
     * Gets ith "PRESACCTINFO" element
     */
    net.ofx.types.x2003.x04.PresentmentAccountInfo getPRESACCTINFOArray(int i);
    
    /**
     * Returns number of "PRESACCTINFO" element
     */
    int sizeOfPRESACCTINFOArray();
    
    /**
     * Sets array of all "PRESACCTINFO" element
     */
    void setPRESACCTINFOArray(net.ofx.types.x2003.x04.PresentmentAccountInfo[] presacctinfoArray);
    
    /**
     * Sets ith "PRESACCTINFO" element
     */
    void setPRESACCTINFOArray(int i, net.ofx.types.x2003.x04.PresentmentAccountInfo presacctinfo);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "PRESACCTINFO" element
     */
    net.ofx.types.x2003.x04.PresentmentAccountInfo insertNewPRESACCTINFO(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "PRESACCTINFO" element
     */
    net.ofx.types.x2003.x04.PresentmentAccountInfo addNewPRESACCTINFO();
    
    /**
     * Removes the ith "PRESACCTINFO" element
     */
    void removePRESACCTINFO(int i);
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static net.ofx.types.x2003.x04.AccountInfo newInstance() {
          return (net.ofx.types.x2003.x04.AccountInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static net.ofx.types.x2003.x04.AccountInfo newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (net.ofx.types.x2003.x04.AccountInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        public static net.ofx.types.x2003.x04.AccountInfo parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.AccountInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, null ); }
        
        public static net.ofx.types.x2003.x04.AccountInfo parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.AccountInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, options ); }
        
        public static net.ofx.types.x2003.x04.AccountInfo parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.AccountInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, null ); }
        
        public static net.ofx.types.x2003.x04.AccountInfo parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.AccountInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, options ); }
        
        public static net.ofx.types.x2003.x04.AccountInfo parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.AccountInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static net.ofx.types.x2003.x04.AccountInfo parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.AccountInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static net.ofx.types.x2003.x04.AccountInfo parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.AccountInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static net.ofx.types.x2003.x04.AccountInfo parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.AccountInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static net.ofx.types.x2003.x04.AccountInfo parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.AccountInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static net.ofx.types.x2003.x04.AccountInfo parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.AccountInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static net.ofx.types.x2003.x04.AccountInfo parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.AccountInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static net.ofx.types.x2003.x04.AccountInfo parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.AccountInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        public static net.ofx.types.x2003.x04.AccountInfo parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.ofx.types.x2003.x04.AccountInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        public static net.ofx.types.x2003.x04.AccountInfo parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.ofx.types.x2003.x04.AccountInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
